<studio-view viewName="docgridviewlookdoc" viewTitle="doc表格视图" class='degridview doc-grid-view-look-doc'>
    <template slot="title">
    <span class="caption-info">{{viewCaption}}</span>
    </template>
    <i-input
        slot="quickSearch"
        clearable
        
        v-model="query"
        :placeholder="$t('entities.doc.fields.title')"
        search
        @on-search="onSearch($event)"
    ></i-input>
    <template slot="toolbar">
                <view-toolbar :model="toolBarModels" @item-click="toolbar_click.apply(_self, arguments)"></view-toolbar>
    </template>
    <template slot="searchBar">
                <view_searchbar 
            :viewState="viewState"  
            :viewparams="viewparams" 
            :context="context" 
            v-show="isExpandSearchForm"
            @search="onSearch($event)"
            name="searchbar"  
            ref="searchbar" 
            @closeview="closeView($event)">
        </view_searchbar>
    </template>
        <view_grid 
        :viewState="viewState"  
        :viewparams="viewparams" 
        :context="context" 
        :isSingleSelect="isGridSingleSelect"
        :showBusyIndicator="true"
        :isOpenEdit="false"
        :gridRowActiveMode="gridRowActiveMode"
        :isformDruipart="isformDruipart"
        @save="onSave.apply(_self, arguments)"
        updateAction=""
        removeAction="Remove"
        loaddraftAction=""
        loadAction=""
        createAction=""
        fetchAction="FetchDocLibDoc"
        :newdata="newdata.bind(_self)"
        :opendata="opendata.bind(_self)"
        name="grid"  
        ref="grid" 
        @selectionchange="grid_selectionchange($event)"  
        @beforeload="grid_beforeload($event)"  
        @rowdblclick="grid_rowdblclick($event)"  
        @remove="grid_remove($event)"  
        @load="grid_load($event)"  
        @closeview="closeView($event)">
    </view_grid>
</studio-view>